package com.magicborrow.beans;

import java.util.List;

/**
 * Created by ghost on 16/5/26.
 */
public class WaresListBean {


    /**
     * code : 0
     * data : {"content":[{"borrowId":6,"created":1464247050000,"id":2,"wareVO":{"address":"华腾北塘商务大厦中国北京市朝阳区南磨房路37号","box":1,"created":"2016-05-26 11:55:29","deleted":0,"deposit":36,"description":"百度周后口口渡口女","favor":false,"favors":0,"id":25,"images":[{"created":1464234929000,"height":313,"id":13,"origin":"/store/origin/2016/0526/261155297oe3.jpg","preview":"/store/thumbs/2016/0526/26115529uj85.jpg","targetId":25,"width":500},{"created":1464234929000,"height":1500,"id":14,"origin":"/store/origin/2016/0526/26115529l3ef.jpg","preview":"/store/thumbs/2016/0526/26115529obh7.jpg","targetId":25,"width":2000},{"created":1464234929000,"height":638,"id":15,"origin":"/store/origin/2016/0526/26115529nz7n.jpg","preview":"/store/thumbs/2016/0526/26115529e6oc.jpg","targetId":25,"width":850}],"lat":39.8902,"lendMode":0,"lon":116.474,"name":"不符合推荐","price":5,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:39","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"},{"created":"2016-05-10 11:37:07","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"},{"created":"2016-05-10 11:37:15","grayIcon":"/store/thumbs/2016/0511/111124420d1m.png","icon":"/store/thumbs/2016/0511/11112442oq0r.png","id":8,"name":"道具服装"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-20 11:37:16","gender":2,"id":13,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"15711491260","nickname":"幽灵","signature":"","status":0,"studentStatus":0,"updated":"2016-05-20 11:37:16"}}},{"borrowId":6,"created":1464229337000,"id":1,"wareVO":{"address":"华腾北塘商务大厦中国北京市朝阳区南磨房路37-2号","box":1,"created":"2016-05-25 15:08:06","deleted":0,"deposit":20,"description":"下","favor":false,"favors":0,"id":17,"images":[],"lat":39.8908,"lendMode":0,"lon":116.474,"name":"天","price":20,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:31","grayIcon":"/store/thumbs/2016/0511/11112600ewl7.png","icon":"/store/thumbs/2016/0511/11112600h3yy.png","id":3,"name":"休闲游戏"},{"created":"2016-05-10 11:36:39","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"},{"created":"2016-05-10 11:37:07","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-20 11:37:16","gender":2,"id":13,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"15711491260","nickname":"幽灵","signature":"","status":0,"studentStatus":0,"updated":"2016-05-20 11:37:16"}}}],"first":true,"last":true,"number":0,"numberOfElements":2,"size":20,"sort":null,"totalElements":2,"totalPages":1}
     * message : 操作成功
     */

    private int code;
    /**
     * content : [{"borrowId":6,"created":1464247050000,"id":2,"wareVO":{"address":"华腾北塘商务大厦中国北京市朝阳区南磨房路37号","box":1,"created":"2016-05-26 11:55:29","deleted":0,"deposit":36,"description":"百度周后口口渡口女","favor":false,"favors":0,"id":25,"images":[{"created":1464234929000,"height":313,"id":13,"origin":"/store/origin/2016/0526/261155297oe3.jpg","preview":"/store/thumbs/2016/0526/26115529uj85.jpg","targetId":25,"width":500},{"created":1464234929000,"height":1500,"id":14,"origin":"/store/origin/2016/0526/26115529l3ef.jpg","preview":"/store/thumbs/2016/0526/26115529obh7.jpg","targetId":25,"width":2000},{"created":1464234929000,"height":638,"id":15,"origin":"/store/origin/2016/0526/26115529nz7n.jpg","preview":"/store/thumbs/2016/0526/26115529e6oc.jpg","targetId":25,"width":850}],"lat":39.8902,"lendMode":0,"lon":116.474,"name":"不符合推荐","price":5,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:39","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"},{"created":"2016-05-10 11:37:07","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"},{"created":"2016-05-10 11:37:15","grayIcon":"/store/thumbs/2016/0511/111124420d1m.png","icon":"/store/thumbs/2016/0511/11112442oq0r.png","id":8,"name":"道具服装"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-20 11:37:16","gender":2,"id":13,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"15711491260","nickname":"幽灵","signature":"","status":0,"studentStatus":0,"updated":"2016-05-20 11:37:16"}}},{"borrowId":6,"created":1464229337000,"id":1,"wareVO":{"address":"华腾北塘商务大厦中国北京市朝阳区南磨房路37-2号","box":1,"created":"2016-05-25 15:08:06","deleted":0,"deposit":20,"description":"下","favor":false,"favors":0,"id":17,"images":[],"lat":39.8908,"lendMode":0,"lon":116.474,"name":"天","price":20,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:31","grayIcon":"/store/thumbs/2016/0511/11112600ewl7.png","icon":"/store/thumbs/2016/0511/11112600h3yy.png","id":3,"name":"休闲游戏"},{"created":"2016-05-10 11:36:39","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"},{"created":"2016-05-10 11:37:07","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-20 11:37:16","gender":2,"id":13,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"15711491260","nickname":"幽灵","signature":"","status":0,"studentStatus":0,"updated":"2016-05-20 11:37:16"}}}]
     * first : true
     * last : true
     * number : 0
     * numberOfElements : 2
     * size : 20
     * sort : null
     * totalElements : 2
     * totalPages : 1
     */

    private DataEntity data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataEntity {
        private boolean first;
        private boolean last;
        private int number;
        private int numberOfElements;
        private int size;
        private Object sort;
        private int totalElements;
        private int totalPages;
        /**
         * borrowId : 6
         * created : 1464247050000
         * id : 2
         * wareVO : {"address":"华腾北塘商务大厦中国北京市朝阳区南磨房路37号","box":1,"created":"2016-05-26 11:55:29","deleted":0,"deposit":36,"description":"百度周后口口渡口女","favor":false,"favors":0,"id":25,"images":[{"created":1464234929000,"height":313,"id":13,"origin":"/store/origin/2016/0526/261155297oe3.jpg","preview":"/store/thumbs/2016/0526/26115529uj85.jpg","targetId":25,"width":500},{"created":1464234929000,"height":1500,"id":14,"origin":"/store/origin/2016/0526/26115529l3ef.jpg","preview":"/store/thumbs/2016/0526/26115529obh7.jpg","targetId":25,"width":2000},{"created":1464234929000,"height":638,"id":15,"origin":"/store/origin/2016/0526/26115529nz7n.jpg","preview":"/store/thumbs/2016/0526/26115529e6oc.jpg","targetId":25,"width":850}],"lat":39.8902,"lendMode":0,"lon":116.474,"name":"不符合推荐","price":5,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:39","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"},{"created":"2016-05-10 11:37:07","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"},{"created":"2016-05-10 11:37:15","grayIcon":"/store/thumbs/2016/0511/111124420d1m.png","icon":"/store/thumbs/2016/0511/11112442oq0r.png","id":8,"name":"道具服装"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-20 11:37:16","gender":2,"id":13,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"15711491260","nickname":"幽灵","signature":"","status":0,"studentStatus":0,"updated":"2016-05-20 11:37:16"}}
         */

        private List<CanBorrowingBean> content;

        public boolean isFirst() {
            return first;
        }

        public void setFirst(boolean first) {
            this.first = first;
        }

        public boolean isLast() {
            return last;
        }

        public void setLast(boolean last) {
            this.last = last;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(int numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getSort() {
            return sort;
        }

        public void setSort(Object sort) {
            this.sort = sort;
        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<CanBorrowingBean> getContent() {
            return content;
        }

        public void setContent(List<CanBorrowingBean> content) {
            this.content = content;
        }

        public static class CanBorrowingBean {
            private int borrowId;
            private long created;
            private int id;
            /**
             * address : 华腾北塘商务大厦中国北京市朝阳区南磨房路37号
             * box : 1
             * created : 2016-05-26 11:55:29
             * deleted : 0
             * deposit : 36
             * description : 百度周后口口渡口女
             * favor : false
             * favors : 0
             * id : 25
             * images : [{"created":1464234929000,"height":313,"id":13,"origin":"/store/origin/2016/0526/261155297oe3.jpg","preview":"/store/thumbs/2016/0526/26115529uj85.jpg","targetId":25,"width":500},{"created":1464234929000,"height":1500,"id":14,"origin":"/store/origin/2016/0526/26115529l3ef.jpg","preview":"/store/thumbs/2016/0526/26115529obh7.jpg","targetId":25,"width":2000},{"created":1464234929000,"height":638,"id":15,"origin":"/store/origin/2016/0526/26115529nz7n.jpg","preview":"/store/thumbs/2016/0526/26115529e6oc.jpg","targetId":25,"width":850}]
             * lat : 39.8902
             * lendMode : 0
             * lon : 116.474
             * name : 不符合推荐
             * price : 5
             * priceMode : 2
             * status : 0
             * tags : [{"created":"2016-05-10 11:36:39","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"},{"created":"2016-05-10 11:37:07","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"},{"created":"2016-05-10 11:37:15","grayIcon":"/store/thumbs/2016/0511/111124420d1m.png","icon":"/store/thumbs/2016/0511/11112442oq0r.png","id":8,"name":"道具服装"}]
             * user : {"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-20 11:37:16","gender":2,"id":13,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"15711491260","nickname":"幽灵","signature":"","status":0,"studentStatus":0,"updated":"2016-05-20 11:37:16"}
             */

            private StuffBean wareVO;

            public int getBorrowId() {
                return borrowId;
            }

            public void setBorrowId(int borrowId) {
                this.borrowId = borrowId;
            }

            public long getCreated() {
                return created;
            }

            public void setCreated(long created) {
                this.created = created;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public StuffBean getWareVO() {
                return wareVO;
            }

            public void setWareVO(StuffBean wareVO) {
                this.wareVO = wareVO;
            }


        }
    }
}
